package com._119yn.host.gst200.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class ZngkControlCommand {

    @JsonProperty("dev_id")
    private String devId;

    @JsonProperty("dtu_id")
    private String dtuId;

    @JsonProperty("sign")
    private String sign;

    @JsonProperty("timestamp")
    private Long timestamp;

    @JsonProperty("attr")
    private Attr attr = new Attr();

    @Data
    public static class Attr {

        @JsonProperty("silence_sta")
        private Integer silenceSta;

        @JsonProperty("res_sta")
        private Integer resSta;

        @JsonProperty("spray_sta")
        private Integer spraySta;

        @JsonProperty("manual_sta")
        private Integer manualSta;

        @JsonProperty("auto_sta")
        private Integer autoSta;

        @JsonProperty("guard_sta")
        private Integer guardSta;

        @JsonProperty("shield")
        private Integer shield;

        @JsonProperty("startup")
        private Integer startup;

    }

}
